package br.com.midiaseducativas.tutor.lo.imagetextsound {
	
	import com.demonsters.debugger.MonsterDebugger;
	
	import flash.display.Sprite;
	import flash.events.Event;
	
	[SWF(width="767", height="496", frameRate="30")]
	public class ImageTextSound extends Sprite {
		
		public function ImageTextSound() {
			if (this.stage) this.init();
			else this.addEventListener(Event.ADDED_TO_STAGE, init);
		}
		
		private function init(event:Event = null):void
		{
			this.removeEventListener(Event.ADDED_TO_STAGE, init);
			MonsterDebugger.initialize(this);
			
			var itsStage:LOStage = new LOStage();
			MonsterDebugger.trace(this, "Hello World!");
			MonsterDebugger.trace("XML URL: ", this.stage.loaderInfo.parameters.xml);
			
			
			this.addChild(itsStage);
			
			
			var core:LOCore = new LOCore(itsStage, this.stage.loaderInfo.parameters.xml);
		}
		
		
		
		
	}
}